package com.java2nb.novel.pay.mapper;

import com.java2nb.novel.pay.entity.MchAppConfig;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.JdbcType;
import org.mapstruct.Mapper;
import org.mybatis.dynamic.sql.SqlBuilder;
import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;
import org.mybatis.dynamic.sql.delete.render.DeleteStatementProvider;
import org.mybatis.dynamic.sql.insert.render.InsertStatementProvider;
import org.mybatis.dynamic.sql.render.RenderingStrategy;
import org.mybatis.dynamic.sql.select.MyBatis3SelectModelAdapter;
import org.mybatis.dynamic.sql.select.QueryExpressionDSL;
import org.mybatis.dynamic.sql.select.SelectDSL;
import org.mybatis.dynamic.sql.select.render.SelectStatementProvider;
import org.mybatis.dynamic.sql.update.render.UpdateStatementProvider;
import org.mybatis.dynamic.sql.util.SqlProviderAdapter;

import javax.annotation.Generated;
import java.sql.JDBCType;
import java.util.Date;
import java.util.List;

import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo;

@Mapper
public final class MchAppConfigDynamicSqlSupport {
    public static final MchAppConfig mchAppConfig = new MchAppConfig();
    public static final SqlColumn<String> mchNo = mchAppConfig.mchNo;
    public static final SqlColumn<String> appId = mchAppConfig.appId;
    public static final SqlColumn<String> secretKey = mchAppConfig.secretKey;
    public static final SqlColumn<Integer> mchStatus = mchAppConfig.mchStatus;
    public static final SqlColumn<Integer> appStatus = mchAppConfig.appStatus;
    public static final SqlColumn<String> supportWayCodes = mchAppConfig.supportWayCodes;

    public static final class MchAppConfig extends SqlTable {
        public final SqlColumn<String> mchNo = column("mch_no", JDBCType.VARCHAR);
        public final SqlColumn<String> appId = column("app_id", JDBCType.VARCHAR);
        public final SqlColumn<String> secretKey = column("secret_key", JDBCType.VARCHAR);
        public final SqlColumn<Integer> mchStatus = column("mch_status", JDBCType.INTEGER);
        public final SqlColumn<Integer> appStatus = column("app_status", JDBCType.INTEGER);
        public final SqlColumn<String> supportWayCodes = column("support_way_codes", JDBCType.VARCHAR);

        public MchAppConfig() {
            super("mch_app_config");
        }
    }
}
